module.exports = {
  wechat: {
    appid: "wx7b778479515f7744",
    secret: "e1458cf983f485439dee8021b3ce5b62"
  },
  alioss: {
    AccessKeyId: "LTAIR8gI0wZT6ofP",
    AccessKeySecret: "46sE1pPAAnP24j92rkY53oXScLlWeh"
  },
  mongodb: {
    connectionString: 'mongodb://coolapapa:w36FC2WYzeK@liuzijin.com:27017/wxa_voice',
  },
  redis: {
    host: 'liuzijin.com',
    port: 16379
  },
  crypto: {
    privateKey: '37LvDSasdfasfsaf3a3IEIA;3r3oi3joijpjfa3a3m4XvjYOh9Yaa.p3id#IEYDNeaken',
    tokenExpiry: 1 * 30 * 1000 * 60 //1 hour
  },
  email: {
    test: true,
    username: "zicjin@gmail.com",
    password: "cdoknwzgchewsdgy",
    accountName: "Snowflake"
  },
  validation: {
    username: /^[a-zA-Z0-9]{6,12}$/,
    password: /^(?=.*[0-9])(?=.*[!@#$%^&*])[a-zA-Z0-9!@#$%^&*]{6,12}$/
  },
  hapi: {
    port: 5000,
    ip: '0.0.0.0' // localhost 会限定host ip
  }
};
